#! /bin/sh
###
 # @Descripttion: 
 # @version: 
 # @Author: congsir
 # @Date: 2021-12-27 17:37:54
 # @LastEditors: Please set LastEditors
 # @LastEditTime: 2021-12-28 10:22:57
### 

kill -9 $(pgrep webserver)
cd /home/ubuntu/newwb/
git reset --hard
git pull https://gitee.com/shanghaitech-university-codec_0/newwb.git
chmod -R 777 *
cd webserver
./webserver &